package com.whynot.frame.ms.entities;

import com.whynot.frame.basic.mybatis.model.BaseModel;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 描    述:菜单实体
 * 创建时间: 2018/07/01
 */
@TableName("tbl_sys_menu")
@Data
@ApiModel(value = "菜单对象")
public class SysMenu extends BaseModel<SysMenu> {
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("菜单名")
    private String menuName;
    @ApiModelProperty("菜单类型")
    private String menuType;
    @ApiModelProperty("菜单Url")
    private String url;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("排序号")
    private Integer sortNo;
    @ApiModelProperty("是否新窗口打开：1本窗口,0新窗口")
    private Integer isNewWin;
    @ApiModelProperty("是否心事：1显示,0不显示")
    private Integer isShow;
    @ApiModelProperty("菜单表达式")
    private String permissionKey;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
